<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<title>Sports Center Member Management System</title>
<style>
.error {
	color: #ff0000;
	font-weight: bold;
}
</style>
</head>
<body>
	
	<br>
	<form method="POST" action="<c:url value="/certification/addCf"/>">
		<input type="text" name="cfName" size="28" /> <input type="submit"
			value="추가" />
	</form>
	<br><br>자격증리스트
	<br><br>
	<table border="1">
		<tr>
			<th>자격증번호</th>
			<th>자격증이름</th>
			<th></th>
		</tr>
		<c:forEach items="${cfList }" var="certification">
			<tr>
				<td>${certification.certificationId }</td>
				<td>${certification.certificationName }</td>
				<td>
					<form method="post" action="<c:url value="/certification/removeCf"/>">
						<input name="certiSeq" type="hidden"
							value="${certification.certificationId }" /> <input
							type="submit" value="삭제" />
					</form>
				</td>

				<!-- <td><a href="remove?memberName=${guest.name }">remove</a></td> -->
			</tr>
		</c:forEach>
	</table>
</body>
</html>